package com.lkr.webapp.web.control;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转控制
 *
 * @author lkr
 * @date 2019-01-30, Wed
 */
@Controller
public class HomeController {

    @RequestMapping(value = {"/", "/index"})
    public String index() {
        return "index";
    }

    @RequestMapping(value = "/foo")
    public String foo() {
        return "foo";
    }

}
